#ifndef __BTLAYER_H__
#define __BTLAYER_H__


#define EVENTHANDLELENGTH   40
#define EVENTARGLENGTH      40

typedef struct EventBuff{
    char EventHandle[EVENTHANDLELENGTH];
    int EventType;
    char EventContext[EVENTARGLENGTH];
    int SizeofParam;
    char EventParam[1];
}EventBuff;


typedef struct FileArg{
    int function;
    int * pret;
    int arg1;
    int arg2;
    int arg3;
}FileArg;

typedef struct queueNode{
    struct queueNode * next;
    EventBuff * buff;
}queueNode;

#define MEMORYMAXSIZE (1024*10)



#endif//__BTLAYER_H__
